package com.oracle.entity.senior;

import java.sql.ResultSet;
import java.sql.SQLException;

public class Scenic {
	private String name;
	private String proc;
	
	
	public Scenic(String name,String proc){
		this.name=name;
		this.proc=proc;
	}
	
/*	public Scenic(ResultSet rs){
		try {
			String name=rs.getString(2);
			
			this.name=name;
			
		} catch (SQLException e) {
			e.printStackTrace();
		}
		
	}*/

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getProc() {
		return proc;
	}

	public void setProc(String proc) {
		this.proc = proc;
	}
	
	
}
